<!DOCTYPE html>
<html style="height: 100%">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>首页</title>
<!-- Bootstrap core CSS -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Bootstrap theme -->
<link href="bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
<link href="angular/plugin/ng-table/ng-table.min.css" rel="stylesheet">
<link href="pageelements/css/index.css" rel="stylesheet">
</head>
<body ng-app="main" style="height: 100%;">
	<div style="height: 100%">
		<div id="leftMenu"
			class="col-sm-2 col-md-2 sidebar clearpadding leftMenu"
			ng-controller="leftMenuCtrl">
			<div class="col-xs-12 col-md-12 leftMenuTopDiv">
				<a> <img src="pageelements/img/top.jpg" class="leftMenuTopImg">
				</a>
			</div>
			<div class="panel-group col-xs-12 col-md-12" role="tablist"
				aria-multiselectable="true">
				<div class="panel" style="display: none;"></div>
				<div class="panel panel-default" ng-repeat="dat in data.message">
					<div class="panel-heading leftMenuItemTit" role="tab"
						ng-click="showLoop(data,dat.position)">
						<h4 class="panel-title">
							<a class="aNoLine">{{dat.value}}<span
								class="glyphicon leftMenuItemTitIcon"
								ng-class="{'glyphicon-chevron-down':dat.click,'glyphicon-chevron-right':!dat.click}"></span></a>
						</h4>
					</div>
					<div class="panel-collapse collapse" ng-class="{'in':dat.click}"
						role="tabpanel" aria-labelledby="headingOne">
						<div class="list-group">
							<a class="list-group-item" ng-class="{'active':msg.click}"
								ng-repeat="msg in dat.data.message" ng-bind="msg.value"
								ng-click="showLoop(dat.data,msg.position)"></a>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div style="" class="col-sm-10 col-md-10 clearpadding">
			<div ng-controller="topMsgCtrl">
				<nav class="navbar navbar-default rightTopNav" role="navigation">
					<div class="container-fluid rightTopNavDiv">
						<!-- Collect the nav links, forms, and other content for toggling -->
						<div class="collapse navbar-collapse rightTopNavTwoDiv">
							<form class="navbar-form navbar-right" role="search">
								<div class="form-group">
									<input type="text" class="form-control" placeholder="Search">
								</div>
								<button type="submit" class="btn btn-default">查询</button>
							</form>
							<ul class="nav navbar-nav navbar-right">
								<li class="rightTopFontSize"><a ng-bind="data.user"></a></li>
								<li class="dropdown rightTopFontSize"
									ng-repeat="dat in data.topLi.message"
									ng-class="{'open':dat.click}"><a class="dropdown-toggle"
									data-toggle="dropdown"
									ng-click="showLoop(data.topLi,dat.position)">{{dat.value}}<span
										class="caret"></span></a>
									<ul class="dropdown-menu" role="menu">
										<li ng-repeat="msg in dat.message"><a ng-bind="msg.value"></a></li>
									</ul></li>
							</ul>
						</div>
					</div>
				</nav>
			</div>
			<div class="panel panel-default right-msg"
				ng-controller="rightMsgCtrl">
				<div class="panel-body">
					<div>
						<ol class="breadcrumb">
							<li ng-class="{'active':dat.click}"
								ng-repeat="dat in navData.message"><a ng-bind="dat.value"
								ng-click="showIntermittent(data,dat.position)"></a></li>
						</ol>
					</div>
					<div class="panel panel-default">
						<div class="panel-body">
							<ng-view></ng-view>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="angular/angular.min.js"></script>
	<script type="text/javascript" src="angular/angular-route.min.js"></script>
	<script type="text/javascript"
		src="angular/plugin/ng-table/ng-table.min.js"></script>
	<script type="text/javascript"
		src="angular/plugin/ui-bootstrap/ui-bootstrap.min.js"></script>
	<script type="text/javascript"
		src="angular/plugin/ng-right-menu/ng-context-menu.min.js"></script>
	<script type="text/javascript" src="modules/controller/index.js"></script>
	<script type="text/javascript"
		src="modules/twoway/controller/deviceListCtrl.js"></script>
	<script type="text/javascript"
		src="modules/twoway/controller/addDeviceCtrl.js"></script>
</body>
</html>